package cn.sumpu.app.guoguojie.dao;


import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Visitor;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface VisitorDao {
	public void insertVisitor(Visitor visitor) throws AppBusinessException;

	public List<Visitor> visitorMember(Map<String,Object> map)throws AppBusinessException;
	
	public int visitorMemberCount(Map<String,Object> map)throws AppBusinessException;
	
	public List<Visitor> visitorFamily(Map<String,Object> map)throws AppBusinessException;
	
	//他看过谁家
	public List<Visitor> taVisitorFamily(Map<String,Object> map)throws AppBusinessException;
	
	//他看过谁家的总量
	public int taVisitorFamilyCount(Map<String,Object> map)throws AppBusinessException;
	
	public int visitorFamilyCount(Map<String,Object> map)throws AppBusinessException;
	
	public void updateVisitor(Visitor visitor)throws AppBusinessException;
	
	public Visitor getVisitorById(Map<String,Object> map)throws AppBusinessException;
	
}
